<template>
  <section class="view-full view-404">
    <div class="v-404">404</div>
    <div class="v-txt">Page not found</div>
    <div class="v-txt">您所访问的页面不存在</div>
    <div class="v-btn">
      <button class="btn btn-active" @click="$router.go(-1)">返回</button>
      <router-link class="btn btn-active" to="/admin">首页</router-link></div>
  </section>
</template>

<script>
export default {
  name: 'view-404'
}
</script>

<style lang="scss" scoped>
.view-404 {
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.v-404 {
  text-shadow: 3px 3px 5px #6ca4d6;
  font-size: 48px;
  line-height: 60px;
  text-align: center;
  color: #0078d7;
}

.v-txt {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #6e767d;
}

.v-btn {
  margin-top: 30px;
  .btn {
    display: inline-block;
    margin: 0 10px;
    width: 80px;
    height: 30px;
    background-color: #0078d7;
    padding: 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    cursor: pointer;
  }
}
</style>